package uk.ac.glasgow.demosocs.tests;

import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import uk.ac.glasgow.demosocs.Candidate;
import uk.ac.glasgow.demosocs.Election;
import uk.ac.glasgow.demosocs.Vote;
import uk.ac.glasgow.demosocs.VotingSystem;

//THIS CANT BE DONE

public class CastVoteTest{

	VotingSystem vs;
	Vote v;

	@Before
	public void setUp() throws Exception{
		vs = new ElectionManager();
		vs.setCurrentUser("admin","password");
		v = new Nomination("Billy");
	}

	@After
	public void tearDown() throws Exception{
		vs = null;
		v = null;
	}

	@Test 
	public void testCastVote(){
		vs.castVote(v);
		//assertEquals("Electorate", check);
	}
}